<?php
/**
 * PSA config override file with customized settings.
 * See psa/config.php for description of these values.
 */

/**
 * Include application config file.
 */
require_once $PSA_CFG['folders']['basedir'] . '/../config.php';


$PSA_CFG['pdo']['dsn']      = "mysql:host=localhost;port=3306;dbname=mydatabase";
$PSA_CFG['pdo']['driver_options'] = array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8", PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION);
$PSA_CFG['pdo']['username'] = 'database_user';
$PSA_CFG['pdo']['password'] = 'database_pass';

//$PSA_CFG['folders']['basedir_web'] = ''; // Without '/' at the end. Example: /webroot/myapp

$PSA_CFG['develop_mode'] = 1;

$PSA_CFG['profile_log'] = 0;

$PSA_CFG['logging']['max_log_level'] = 10;

$PSA_CFG['folders']['plugins'][] = '../models';
$PSA_CFG['folders']['plugins'][] = '../views';
$PSA_CFG['folders']['plugins'][] = '../controllers';

$PSA_CFG['router_location'] = '..';

